﻿using System;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] strs = { "aaa", "bbb", "ccc", "ddd", "eee" };
            for (int i = 0; i < strs.Length; i = i + 2)
            {
                Console.WriteLine(strs[i]);

            }



            int[] c = new int[5];
            Console.WriteLine("请输入5个整数：");
            for (int j = 0; j < c.Length; j++)
            {
                c[j] = int.Parse(Console.ReadLine());
                int max = c[0];
                for (j = 1; j < c.Length; j++) {
                    if (c[j] > max) { max = c[j]; } }
                Console.WriteLine("数组中最大值为：" + max);
            }



            double[,] points = { { 90, 80 }, { 100, 89 }, { 88.5, 86 } };
            for (int i = 0; i < points.GetLength(0); i++) {
                Console.WriteLine("第" + (i + 1) + "个学生成绩：");
                for (int j = 0; j < points.GetLength(1); j++) {
                    Console.Write(points[i, j] + " "); }
                Console.WriteLine();

            }
            string s = "abcdeabcdeabcde";

            string[] a = s.Split('c');

            foreach (string b in a)
            {
                Console.WriteLine(b);
            }
        }
    } }


